package cn.juque.jdfsystem.vo.userinfo;

import cn.juque.jdfsystem.vo.BaseVO;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>LoginPramVO</li>
 * </ul>
 * @date 2023-03-15 17:41:22
 **/
@Data
public class LoginPramVO extends BaseVO {

    /**
     * 用户名称
     */
    @NotEmpty(message = "用户名不能为空")
    @Size(message = "用户名不能超过{max}个字符", max = 30)
    private String username;

    /**
     * 密码
     */
    @NotEmpty(message = "密码不能为空")
    @Size(message = "密码不能超过{max}个字符", max = 16)
    private String password;
}
